html Button tag


Html Button Tag

   1]  <Button> tag creates a  clickable  button.
   2]  The  type="button" attribute specifies the button.
   3]  The text  "click Me" content of the button.
   4]  button can trigger java Script events / perform action defined the web page.

Html Button Tag

Example :-

<!DOCTYPE html>
<html>
    <head>
        <title>button tag</title>
    </head>
    <body>
        <h2>Html Button Tag </h2>
        <button type ="button" onclick="alert('hi friends')" >Click Me</button>
    </body>
</html>

Html Button Tag

Output :-

button tag  /output




related Post :-

about us page design template

php program print inverted pyramid star pattern in php

css id selector

Comments

Popular posts from this blog

HTML pre tag

Inline css in html

html iframe

CSS text-transform Property

Html anchor tag